<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>客户问题管理</title>
    <hdjs/>
    <bootstrap/>
    <css file="__CONTROL_TPL__/css/css.css"/>
</head>
<body>
<div class="wrap">
    <div class="title-header">提问</div>
        <table class="table1">
            <tr>
                <th class="w100">提问人</th>
                <td  class="w100">
                   <p>{$askData['nickname']}</p>
                </td>
                <td><span id="hd_catename"></span></td>
                <th class="w100">问题编号</th>
                <td>
                    <p>{$askData['asknumber']}</p>
                </td>
                 <th class="w100">提问时间</th>
                <td>
                    <p>{$askData['asktime']}</p>
                </td>
                 <th class="w100">所在位置ID</th>
                <td>
                    <p><a target="_blank" href="{|U:'Index/Goods/index',array('goodsid'=>$askData['goodsid'])}">{$askData['goodsname']}</a></p>
                </td>
            </tr>
            </table>
            <table class="table1">
             <tr>
                <th class="w100">问题内容</th>
                <td class="w200">
                    <p>{$askData['askcontent']}</p>
                </td>
                <td></td>
            </tr>
            </tr>
            </table>

 <if value="$answerData eq 0">
  <div class="title-header">回答</div>
 <table class="table1">
 	<tr ><td style="color:red;">暂没有管理员回复</td> </tr>
 </table>
  <else>
 <foreach from="$answerData" key="$k" value="$v">
 <div class="title-header">回答</div>
 	 <table class="table1">
            <tr>
                <th class="w100">回答人</th>
                <td  class="w100">
                   <p>{$v['adminname']}</p>
                </td>
                <td><span id="hd_catename"></span></td>
                <th class="w100">回答时间</th>
                <td>
                    <p>{$v['anstime']}</p>
                </td>
            </tr>
            </table>
            <table class="table1">
             <tr>
                <th class="w100">回答内容</th>
                <td class="w200">
                    <p>{$v['anscontent']}</p>
                </td>
                <td></td>
            </tr>
            </tr>
            </table>
      </foreach>

 </if>
       
</div>
</body>
</html>